package com.gxar.quick.ar.server.base.async.works.event;

import com.gxar.quick.ar.server.db.model.WorksPreviewEntity;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.List;
import java.util.Set;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/11/24 15:30
 */
@Getter
public class WorksPreviewDeleteEvent extends ApplicationEvent {


    private final Long userId;
    private final List<WorksPreviewEntity> worksPreviewEntityList;
    private final Set<String> extUrlSet;

    public WorksPreviewDeleteEvent(Object source, Long userId, List<WorksPreviewEntity> worksPreviewEntityList, Set<String> extUrlSet) {
        super(source);
        this.userId = userId;
        this.worksPreviewEntityList = worksPreviewEntityList;
        this.extUrlSet = extUrlSet;
    }

}
